package com.haoze.nurse.dto;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;
import java.util.Map;

/**
 * 数据元简化对象
 * 
 * @author antipro
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Element {

	private String id;

	private String name;

	private String type;

	private Double max;

	private Double min;

	private Double medicalMax;

	private Double medicalMin;

	private String value;

	private String dataValue;

	private String dataText;

	private String primaryDataCode;

	private String parentDataRelationId;

	private String grandParentId;

	private String varCode;

	private String unit;

	private String format;

	private String medicalId;

	private List<Map<String, String>> selections;

	private String elementPropertyFormat;//数据元属性格式化字段

	private String isPreDiag;//是否拟诊诊断 0-否;1-是
	private String dataCode;

	private String groupName;
	private String showText;



	public String getElementPropertyFormat() {
		return elementPropertyFormat;
	}

	public void setElementPropertyFormat(String elementPropertyFormat) {
		this.elementPropertyFormat = elementPropertyFormat;
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public List<Map<String, String>> getSelections() {
		return selections;
	}

	public String getValue() {
		return value;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSelections(List<Map<String, String>> selections) {
		this.selections = selections;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Double getMax() {
		return max;
	}

	public void setMax(Double max) {
		this.max = max;
	}

	public Double getMin() {
		return min;
	}

	public void setMin(Double min) {
		this.min = min;
	}

	public String getDataValue() {
		return dataValue;
	}

	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}

	public String getDataText() {
		return dataText;
	}

	public void setDataText(String dataText) {
		this.dataText = dataText;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}


	public String getVarCode() {
		return varCode;
	}

	public void setVarCode(String varCode) {
		this.varCode = varCode;
	}

	public String getParentDataRelationId() {
		return parentDataRelationId;
	}

	public void setParentDataRelationId(String parentDataRelationId) {
		this.parentDataRelationId = parentDataRelationId;
	}

	public String getGrandParentId() {
		return grandParentId;
	}

	public void setGrandParentId(String grandParentId) {
		this.grandParentId = grandParentId;
	}

	public Double getMedicalMax() {
		return medicalMax;
	}

	public void setMedicalMax(Double medicalMax) {
		this.medicalMax = medicalMax;
	}

	public Double getMedicalMin() {
		return medicalMin;
	}

	public void setMedicalMin(Double medicalMin) {
		this.medicalMin = medicalMin;
	}

	public String getPrimaryDataCode() {
		return primaryDataCode;
	}

	public void setPrimaryDataCode(String primaryDataCode) {
		this.primaryDataCode = primaryDataCode;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getIsPreDiag() {
		return isPreDiag;
	}

	public void setIsPreDiag(String isPreDiag) {
		this.isPreDiag = isPreDiag;
	}

	public void setDataCode(String dataCode) {
		this.dataCode = dataCode;
	}

	public String getDataCode() {
		return dataCode;
	}

	public String getMedicalId() {
		return medicalId;
	}

	public void setMedicalId(String medicalId) {
		this.medicalId = medicalId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public void setShowText(String showText) {
		this.showText = showText;
	}

	public String getShowText() {
		return showText;
	}

}

